<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('成交价格')}:</label>
        <div class="col-xs-12 col-sm-8">
            {$row.deal_price}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('成本价格')}:</label>
        <div class="col-xs-12 col-sm-8">
            {$row.cost_price}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('当前提成金额')}:</label>
        <div class="col-xs-12 col-sm-8">
            {$row.sales_commission}
        </div>
    </div>
    <hr>
    <h3>修改提成</h3>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('提成方式')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[sales_commission_type]', ['0'=>__('(成交价格-成本价格)*()%'),
            '1'=>__('固定金额'),'2'=>__('每月提成')],0)}
            <input placeholder="{:__('Please enter')}{:__('提成')}" id="c-gth_commission_sales"
                   data-rule="required"
                   class="form-control"
                   name="row[sales_commission]"
                   type="text"
            >
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
